<div class="title">
  <h1>New troop</h1>
</div>

<div class="content">
  <% form_for([@army, @troop]) do |f| %>
    <%= f.error_messages %>

    <p>
      <%= f.label :unit %><br />
      <%= select("troop", "unit_id", Unit.find(:all).collect {|p| [p.name, p.id]}) %>
    </p>
    <p>
      <%= f.label :menge %><br />
      <%= f.text_field :menge %>
    </p>
    <p>
      <%= f.label 'Verluste' %><br />
      <%= f.text_field :losses %>
    </p>
    <p>
      <%= f.submit "Create" %>
    </p>
  <% end %>
</div>

